[INFO] fetching crate const-field-offset-macro 0.2.0...
[INFO] testing const-field-offset-macro-0.2.0 against try#28f95933dc0727396c07b48d0a8cb5211b7fb472 for pr-154065-2
[INFO] extracting crate const-field-offset-macro 0.2.0 into /workspace/builds/worker-2-tc2/source
[INFO] started tweaking crates.io crate const-field-offset-macro 0.2.0
[INFO] finished tweaking crates.io crate const-field-offset-macro 0.2.0
[INFO] tweaked toml for crates.io crate const-field-offset-macro 0.2.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate const-field-offset-macro 0.2.0 on toolchain 28f95933dc0727396c07b48d0a8cb5211b7fb472
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate const-field-offset-macro 0.2.0 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] a7114d46bfa5435d78a5653b1552d939de84c7c5634ffb0f3e292e6f74728d5b
[INFO] running `Command { std: "docker" "start" "a7114d46bfa5435d78a5653b1552d939de84c7c5634ffb0f3e292e6f74728d5b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "a7114d46bfa5435d78a5653b1552d939de84c7c5634ffb0f3e292e6f74728d5b" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a7114d46bfa5435d78a5653b1552d939de84c7c5634ffb0f3e292e6f74728d5b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "a7114d46bfa5435d78a5653b1552d939de84c7c5634ffb0f3e292e6f74728d5b" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]    Compiling const-field-offset-macro v0.2.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.05s
[INFO] running `Command { std: "docker" "inspect" "a7114d46bfa5435d78a5653b1552d939de84c7c5634ffb0f3e292e6f74728d5b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "a7114d46bfa5435d78a5653b1552d939de84c7c5634ffb0f3e292e6f74728d5b" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling memoffset v0.9.1
[INFO] [stderr]    Compiling const-field-offset-macro v0.2.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.77s
[INFO] running `Command { std: "docker" "inspect" "a7114d46bfa5435d78a5653b1552d939de84c7c5634ffb0f3e292e6f74728d5b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "a7114d46bfa5435d78a5653b1552d939de84c7c5634ffb0f3e292e6f74728d5b" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "test" "--frozen", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s
[INFO] [stderr]      Running unittests macro.rs (/opt/rustwide/target/debug/deps/const_field_offset_macro-2d66d74f9fb1e4a7)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stderr]    Doc-tests const_field_offset_macro
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 6 tests
[INFO] [stdout] test macro.rs - const_field_offset (line 63) ... FAILED
[INFO] [stdout] test macro.rs - const_field_offset (line 87) ... FAILED
[INFO] [stdout] test macro.rs - const_field_offset (line 21) ... FAILED
[INFO] [stdout] test macro.rs - const_field_offset (line 43) ... FAILED
[INFO] [stdout] test macro.rs - _PIN_NO_DROP (line 227) - compile fail ... ok
[INFO] [stdout] test macro.rs - _PIN_NO_UNPIN (line 244) - compile fail ... ok
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- macro.rs - const_field_offset (line 63) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `const_field_offset`
[INFO] [stdout]   --> macro.rs:64:5
[INFO] [stdout]    |
[INFO] [stdout] 64 | use const_field_offset::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `const_field_offset`
[INFO] [stdout]    |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 64 | use const_field_offset_macro::*;
[INFO] [stdout]    |                       ++++++
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `FieldOffsets` in this scope
[INFO] [stdout]   --> macro.rs:69:10
[INFO] [stdout]    |
[INFO] [stdout] 69 | #[derive(FieldOffsets)]
[INFO] [stdout]    |          ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this derive macro
[INFO] [stdout]    |
[INFO] [stdout] 63 + use const_field_offset_macro::FieldOffsets;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `pin_drop` in this scope
[INFO] [stdout]   --> macro.rs:70:3
[INFO] [stdout]    |
[INFO] [stdout] 70 | #[pin_drop]
[INFO] [stdout]    |   ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `pin_drop` is an attribute that can be used by the derive macro `FieldOffsets`, you might be missing a `derive` attribute
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- macro.rs - const_field_offset (line 87) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `const_field_offset`
[INFO] [stdout]   --> macro.rs:89:19
[INFO] [stdout]    |
[INFO] [stdout] 89 | mod xxx { pub use const_field_offset as cfo; }
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^^^^^^^^^ no external crate `const_field_offset`
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `const_field_offset` in this scope
[INFO] [stdout]   --> macro.rs:91:3
[INFO] [stdout]    |
[INFO] [stdout] 91 | #[const_field_offset(xxx::cfo)]
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `const_field_offset` is an attribute that can be used by the derive macro `FieldOffsets`, you might be missing a `derive` attribute
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- macro.rs - const_field_offset (line 21) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `const_field_offset`
[INFO] [stdout]   --> macro.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | use const_field_offset::FieldOffsets;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `const_field_offset`
[INFO] [stdout]    |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 22 | use const_field_offset_macro::FieldOffsets;
[INFO] [stdout]    |                       ++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `FIELD_OFFSETS` found for struct `Foo` in the current scope
[INFO] [stdout]   --> macro.rs:30:26
[INFO] [stdout]    |
[INFO] [stdout] 25 | struct Foo {
[INFO] [stdout]    | ---------- associated function or constant `FIELD_OFFSETS` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 30 | const FOO : usize = Foo::FIELD_OFFSETS.field_2().get_byte_offset();
[INFO] [stdout]    |                          ^^^^^^^^^^^^^ associated function or constant not found in `Foo`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- macro.rs - const_field_offset (line 43) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `const_field_offset`
[INFO] [stdout]   --> macro.rs:44:5
[INFO] [stdout]    |
[INFO] [stdout] 44 | use const_field_offset::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `const_field_offset`
[INFO] [stdout]    |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 44 | use const_field_offset_macro::*;
[INFO] [stdout]    |                       ++++++
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `FieldOffsets` in this scope
[INFO] [stdout]   --> macro.rs:45:10
[INFO] [stdout]    |
[INFO] [stdout] 45 | #[derive(FieldOffsets)]
[INFO] [stdout]    |          ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this derive macro
[INFO] [stdout]    |
[INFO] [stdout] 43 + use const_field_offset_macro::FieldOffsets;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `pin` in this scope
[INFO] [stdout]   --> macro.rs:46:3
[INFO] [stdout]    |
[INFO] [stdout] 46 | #[pin]
[INFO] [stdout]    |   ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `pin` is an attribute that can be used by the derive macro `FieldOffsets`, you might be missing a `derive` attribute
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `FIELD_OFFSETS` found for struct `Foo` in the current scope
[INFO] [stdout]   --> macro.rs:52:56
[INFO] [stdout]    |
[INFO] [stdout] 47 | struct Foo {
[INFO] [stdout]    | ---------- associated function or constant `FIELD_OFFSETS` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 52 | const FIELD_2 : FieldOffset<Foo, u32, AllowPin> = Foo::FIELD_OFFSETS.field_2();
[INFO] [stdout]    |                                                        ^^^^^^^^^^^^^ associated function or constant not found in `Foo`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     macro.rs - const_field_offset (line 21)
[INFO] [stdout]     macro.rs - const_field_offset (line 43)
[INFO] [stdout]     macro.rs - const_field_offset (line 63)
[INFO] [stdout]     macro.rs - const_field_offset (line 87)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 2 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.29s
[INFO] [stdout] 
[INFO] [stdout] all doctests ran in 0.38s; merged doctests compilation took 0.09s
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "a7114d46bfa5435d78a5653b1552d939de84c7c5634ffb0f3e292e6f74728d5b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a7114d46bfa5435d78a5653b1552d939de84c7c5634ffb0f3e292e6f74728d5b", kill_on_drop: false }`
[INFO] [stdout] a7114d46bfa5435d78a5653b1552d939de84c7c5634ffb0f3e292e6f74728d5b
